package com.pinyoumei.app.bean;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by Administrator on 2021-09-03.
 * --------- 日期 ------- 维护人 ------------ 变更内容 --------
 * 2021-09-03        Administrator             新增Person类
 * 2021-09-03        Administrator             增加sex属性
 */
public class HpSearchBean {

    /**
     * code : 1
     * errors : {}
     * msg : 加载成功
     * result : {"goods_list":[{"goods_name":"元气鲜森高纤全麦饼干小包装早餐代餐180g*3盒","id":"b1aef56d9ac943f09081d163f20e4edf","sale_price":28,"goods_img":"https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630320106994.jpg"}]}
     */

    private int code;
    private ErrorsBean errors;
    private String msg;
    private ResultBean result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ErrorsBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorsBean errors) {
        this.errors = errors;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ErrorsBean {
    }

    public static class ResultBean {
        private List<GoodsListBean> goods_list;

        public List<GoodsListBean> getGoods_list() {
            return goods_list;
        }

        public void setGoods_list(List<GoodsListBean> goods_list) {
            this.goods_list = goods_list;
        }

        public static class GoodsListBean {
            /**
             * goods_name : 元气鲜森高纤全麦饼干小包装早餐代餐180g*3盒
             * id : b1aef56d9ac943f09081d163f20e4edf
             * sale_price : 28
             * goods_img : https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630320106994.jpg
             */

            private String goods_name;
            private String id;
            private BigDecimal sale_price;
            private String goods_img;
            private String market_price;
            private BigDecimal sale_num;

            public String getMarket_price() {
                return market_price;
            }

            public void setMarket_price(String market_price) {
                this.market_price = market_price;
            }

            public BigDecimal getSale_num() {
                return sale_num;
            }

            public void setSale_num(BigDecimal sale_num) {
                this.sale_num = sale_num;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public BigDecimal getSale_price() {
                return sale_price;
            }

            public void setSale_price(BigDecimal sale_price) {
                this.sale_price = sale_price;
            }

            public String getGoods_img() {
                return goods_img;
            }

            public void setGoods_img(String goods_img) {
                this.goods_img = goods_img;
            }
        }
    }
}
